package com.wave.system.domain.bo;

import com.wave.common.core.domain.BaseEntity;
import com.wave.common.core.validate.AddGroup;
import com.wave.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 生产排布业务对象 sys_produce_arrange
 *
 * @author wave
 * @date 2024-10-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysProduceArrangeBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 包装线
     */
    @NotBlank(message = "包装线不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer packagingLine;

    /**
     * 零部件代码
     */
    @NotBlank(message = "零部件代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productNumber;;


    /**
     * 上次设置
     */
    private String lastSetting;


    /**
     * 芯片版本信息
     */
    @NotBlank(message = "芯片版本信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String chipVersionCode;

}
